﻿using System;
using Token.Piker.Common;
using System.Web.Security;

namespace Token.Piker.Web.Admin
{
    public partial class MasterPage : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        //退出登录
        protected void lkbLogout_Click(object sender, EventArgs e)
        {
            Session[GlobalConstants.PIKER_ADMIN] = null;
            //删除用户票据
            FormsAuthentication.SignOut();
            //重定向到登录页面
            FormsAuthentication.RedirectToLoginPage();
        }
    }
}